﻿using System;
using Volo.Abp.Domain.Entities.Auditing;

namespace Edu.Entitys
{
    public class AppRating : FullAuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 年
        /// </summary>
        public int Year
        {
            get;
            set;
        }

        /// <summary>
        /// 季度
        /// </summary>
        public int Quarter
        {
            get;
            set;
        }

        public Guid TeacherId
        {
            get;
            set;
        }

        public Guid StudentId
        {
            get;
            set;
        }

        /// <summary>
        /// 学生分数
        /// </summary>
        public int? StudentScore
        {
            get;
            set;
        }

        /// <summary>
        /// 学生打分时间
        /// </summary>
        public DateTimeOffset? StudentTime
        {
            get;
            set;
        }

        /// <summary>
        /// 老师分数
        /// </summary>
        public int? TeacherScore
        {
            get;
            set;
        }


        /// <summary>
        /// 老师打分时间
        /// </summary>
        public DateTimeOffset? TeacherTime
        {
            get;
            set;
        }
    }
}